define(function () {
    return function (goods, Subtotal) {
        let znum = 0;
        for (let i = 0; i < goods.length; i++) {
            if (goods[i].status === "icon-gouxuankuang1") {
                znum += Subtotal[i].innerHTML.slice(1) - 0;
            }
        }
        $(".dolr").html("¥" + znum)
    }
});